#region Copyright

// // ======================================================
// //     Copyright (c) 2011 Toulr All rights reserved.
// //    
// //     The use and distribution terms for this software are contained in the file
// //     named license.txt, which can be found in the root of this distribution.
// //     By using this software in any fashion, you are agreeing to be bound by the
// //     terms of this license.
// //    
// //     You must not remove this notice, or any other, from this software.
// // ======================================================

#endregion

namespace Toulr.Util.Logging
{
    /// <summary>
    ///   Interface for Context Properties implementations
    /// </summary>
    /// <remarks>
    ///   <para>
    ///     This interface defines a basic property get set accessor.
    ///   </para>
    ///   <para>
    ///     Based on the ContextPropertiesBase of log4net, by Nicko Cadell.
    ///   </para>
    /// </remarks>
    public interface IContextProperties
    {
        /// <summary>
        ///   Gets or sets the value of a property
        /// </summary>
        /// <value>
        ///   The value for the property with the specified key
        /// </value>
        /// <remarks>
        ///   <para>
        ///     Gets or sets the value of a property
        ///   </para>
        /// </remarks>
        object this[string key] { get; set; }
    }
}